package io.gitee.zhangbinhub.admin.po

import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty
import org.noear.solon.validation.annotation.NotBlank
import org.noear.solon.validation.annotation.NotNull

@ApiModel("强制终止流程实例参数")
data class ProcessTerminationPo(
    @ApiModelProperty(name = "流程实例ID", required = true)
    @field:NotNull(message = "流程实例ID不能为空")
    var processInstanceId: Long? = null,
    @ApiModelProperty(name = "原因", required = true)
    @field:NotBlank(message = "原因不能为空")
    var reason: String? = null
)
